package com.fyx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fyx.entity.ChannelIdData;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ChannelIdDataMapper extends BaseMapper<ChannelIdData> {

    @Select("select sum(active_num) as active_num,sum(recharge_num) as recharge_num ,sum(recharge_person) as recharge_person,sum(reg_num) as reg_num FROM channel_id_data")
    List<ChannelIdData> getListRegNum(ChannelIdData channelIdData);


}
